<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ include file="cfmt/tldImport.jsp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>会员帐号充值</title>
<script language="javascript" src="js/page.js"> </script>
<link  href="css/style.css"  rel="stylesheet" type="text/css"/>
<style  type="text/css">
	#cover
	{
		position:absolute;
		left:0px;
		top:0px;
		display:none;
		filter:alpha(opacity=70);
		opacity:0.7 !important;
		background-color:gray;
		z-index:100;
	}
	#pop
	{
		position:absolute;
		left:0px;
		top:0px;
		width:300px;
		height:166px;
		border:1px solid black;
		background-color:#ffffff;
		z-index:1009;
		display:none;
	}
	.popTitle
	{
		width:100%;
		height:26px;
		background:url(images/popTitle.gif) repeat-x;
		position:relative;
	}
	.popTitle img
	{
		position:absolute;
		right:5px;
		top:5px;
	}
	.row
	{
		margin-top:20px;
		margin-left:20px;
	}
</style>
</head>
<body>
<div  class="page">
<table width="200" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="cm">会员编号</td>
    <td class="cm">会员名称</td>
    <td class="cs">当前余额</td>
    <td class="cs">操作</td>
  </tr>
  
	<c:forEach var="user" items="${user}">
		 <tr>
	    <td id="UserId">${user.userId}</td>
	    <td>${user.userName}</td>
	    <td>${user.money}</td>
	    <td><a href="javascript:showPop(1,'${user.id}', '${user.userName}')">充值</a>
	    /<a href="javascript:showPop(2,'${user.id}', '${user.userName}')">扣除</a></td>
	    </tr>
	</c:forEach>
</table>


<div  id="cover" >
</div>
	<div id="pop">
		<form action="ChongZhiServlet" method="get" name="frm">
			<input type="hidden" name="id" />
			<input type="hidden" name="type" />
			<div  class="popTitle"><img src="images/close.gif" onclick="closePop();"/></div>
			<div class="row"><label>充值帐号：</label><span id="userName"></span></div>
			<div class="row"><label>请输入充值金额：</label><span><input name="money"  type="text"  class="txtS"/></span></div>
			<div style="text-align:center;" class="row"><input  type="submit"  class="linkBtn"  value="提交"/></div>
		</form>
	</div>
</div>
</body>
</html>
